---
title: openDialog
icon: '#ref/F'
---

| packages | `@univerjs/preset-sheets-core` \| `@univerjs/preset-docs-core` \| `@univerjs/ui` |
| --- | --- |

```typescript
// [!code word:options]
univerAPI.openDialog(options)
```

## IDialogPartMethodOptions

<AutoTypeTable
  name="IDialogPartMethodOptions"
  type={`
    export type { IDialogPartMethodOptions } from '@univerjs/preset-sheets-core'
  `}
/>

## Returns

<AutoTypeTable
  name="OpenDialogReturns"
  type={`
    import { FUniver } from '@univerjs/core/facade'
    import '@univerjs/ui/facade'
    export type OpenDialogReturns = ReturnType<typeof FUniver.prototype.openDialog>
  `}
/>
